package com.seal.service.impl;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.seal.dao.IProvinceDao;
import com.seal.model.TProvince;
import com.seal.service.IProvinceService;

@Service("provinceServiceImpl")
@Transactional(readOnly = true)
public class ProvinceServiceImpl implements IProvinceService {
	@Resource(name = "provinceDaoImpl")
	private IProvinceDao privinceDao;

	public List<TProvince> getAllProvinces() throws Exception {
		return privinceDao.getAllProvinces();
	}
}
